import Vue from 'vue'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import App from './App.vue'
import router from "./router"
import "./common/css/reset.css"
import axios from "axios"
Vue.config.productionTip = false

Vue.use(ElementUI);

// 放在原型之后，在其他地方可以通过this访问到axios的方法
Vue.prototype.$axios = axios;
// axios.defaults.baseURL = 'http://127.0.0.1:3000'
import store from "./store"

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
